package com.qdhhxy.entity;

public class CarEntity {
    private int id;
    private String carNum;
    private String brand;
    private String guidePrice;
    private String produceTime;
    private String carType;
    private int stuId;
    private UserEntity userEntity;

    public CarEntity() {
    }

    public CarEntity(int id, String carNum, String brand, String guidePrice, String produceTime, String carType, int stuId) {
        this.id = id;
        this.carNum = carNum;
        this.brand = brand;
        this.guidePrice = guidePrice;
        this.produceTime = produceTime;
        this.carType = carType;
        this.stuId = stuId;
    }

    @Override
    public String toString() {
        return "CarEntity{" +
                "id=" + id +
                ", carNum='" + carNum + '\'' +
                ", brand='" + brand + '\'' +
                ", guidePrice='" + guidePrice + '\'' +
                ", produceTime='" + produceTime + '\'' +
                ", carType='" + carType + '\'' +
                ", stuId=" + stuId +
                ", userEntity=" + userEntity +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getGuidePrice() {
        return guidePrice;
    }

    public void setGuidePrice(String guidePrice) {
        this.guidePrice = guidePrice;
    }

    public String getProduceTime() {
        return produceTime;
    }

    public void setProduceTime(String produceTime) {
        this.produceTime = produceTime;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public UserEntity getUserEntity() {
        return userEntity;
    }

    public void setUserEntity(UserEntity userEntity) {
        this.userEntity = userEntity;
    }
}
